package Level02_one;
//工资为 8000 元的 30 岁的王小平老师,会吃饭(吃工作餐)和讲课. 成绩为 90 分的 15 岁的李小乐学生,会吃饭(吃学生餐)和学习.
public class Person {
    private int age;
    private String name;
    void eat(){
    }

    public Person(int age, String name) {
        this.age = age;
        this.name = name;
    }
    public Person(){}

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
